<div id="content" class="fabrique">
	<!--<div id="search"><input type="text" value="Recherche"><input type="submit"></div>-->
    <form id="function_search_form" method="post" action="fabrique/search">
	<div>
        <div id="search"><input type="text" name="collages_nom" id="collages_nom" />
		<input type="submit" value="search" id="search_button" /></div>
		<div id="autocomplete_choices" class="autocomplete"></div>
	</div>
    </form>
    <div id="function_description" style="display:none;">
	<p>Enter your function above</p>
	</div>	

	
	<?php
	
	if($rows != null):
	foreach($rows as $r):?>
	<div class="collection">
		<a class="ic-view" href="#">view</a>	
		<div class="wrap-collection">
			<h2><?php echo $r->collages_nom; ?> </h2><span class="date"> <?php echo date('d/m/Y H:i', strtotime($r->collages_date)); ?> </span>
			<ul class="works">

				<li class=<?php echo $r->pensees_nom; ?>><?php echo $r->oeuvres_id; ?> </li>
				<!--<li class="type-image type-item5"><a href="#"></a></li>
				<li class="type-doc type-item7"><a href="#">icone</a></li>
				<li class="type-video type-item9"><a href="#">icone</a></li>
				<li class="type-video type-item3"><a href="#">icone</a></li>-->
			</ul>
			
		</div>	
		<div class="status">
			<div class="type-item7" style=""><?php echo $r->fk_pensees_id; ?></div>
			<!--<div class="type-item5" style="width:19.5%">20%</div>
			<div class="type-item3" style="width:9.5%">10%</div>
			<div class="type-item9" style="width:49.5%">50%</div>-->
		</div>
	</div>		
	<?php endforeach; endif; ?>	


</div>
